//-----------------------------------------------------------------------------
// Name: Systems.cpp
// Auth: Bradford J. Smith & Robert Darty
// Desc: provides a central location for access, intialization and shutdown of 
//	any game systems
//-----------------------------------------------------------------------------

#include "Systems.h"

#include "DisplayManager.h"
#include "InputManager.h"
//-----------------------------------------------------------------------------
// Globals for Systems:
//-----------------------------------------------------------------------------
cDisplayManager gDisplayManager;
cInputManager gInputManager;
//-----------------------------------------------------------------------------
// Systems Management:
//-----------------------------------------------------------------------------
void InitSystems()
{
	// initialize any data in systems in a way that lets us control order.
	gDisplayManager.SetCameraPitch(35.0f);
}

void ShutdownSystems()
{
	// give any systems an opportunity to clean up that need it.
}

//-----------------------------------------------------------------------------
// Accessors:
//-----------------------------------------------------------------------------
cDisplayManager* GetDisplayManager()
{
	return &gDisplayManager;
}
cInputManager* GetInputManager()
{
	return &gInputManager;
}